import request from '@/api/request'
export function orgPersonList(data) {
  return request({
    url: '/emrweb/doctor/page',
    method: 'post',
    data,
  })
}
export function getOrgPersonInfo(params) {
  return request({
    url: '/emrweb/doctor/queryInfo',
    method: 'get',
    params,
  })
}
export function remove(params) {
  return request({
    url: '/emrweb/doctor/remove',
    method: 'get',
    params,
  })
}
export function save(data) {
  return request({
    url: '/emrweb/doctor/save',
    method: 'post',
    data,
  })
}
export function changeStatus(params) {
  return request({
    url: '/emrweb/doctor/status',
    method: 'get',
    params,
  })
}

export function changSequence(params) {
  return request({
    url: '/emrweb/doctor/updateSequence',
    method: 'get',
    params,
  })
}

export function editPW(params) {
  return request({
    url: '/emrweb/doctor/resetPwd',
    method: 'get',
    params,
  })
}

export function bindAcc(params) {
  return request({
    url: '/emrweb/doctor/getUserId',
    method: 'get',
    params,
  })
}
